package org.ccay.upload;

import java.io.Serializable;
import java.util.List;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@JsonIgnoreProperties({ "repository", "tempRepository", "fileSplitType" })
public class UploadSettingVO implements Serializable {
	private static final long serialVersionUID = -1657693485447340831L;
	private List<String> fileTypesAllowed;
	private int maxFileCount;
	private FolderSplitType fileSplitType;
	private long maxFileSize;
	private int maxMemory;
	private int batchId;
	/**
	 * 虚拟文件系统模块
	 */
	private String vfsModule;

	public UploadSettingVO() {
	}

	public int getBatchId() {
		return this.batchId;
	}

	public void setBatchId(int batchId) {
		this.batchId = batchId;
	}

	public FolderSplitType getFileSplitType() {
		return this.fileSplitType;
	}

	public void setFileSplitType(FolderSplitType fileSplitType) {
		this.fileSplitType = fileSplitType;
	}

	public List<String> getFileTypesAllowed() {
		return this.fileTypesAllowed;
	}

	public void setFileTypesAllowed(List<String> fileTypesAllowed) {
		this.fileTypesAllowed = fileTypesAllowed;
	}

	public long getMaxFileSize() {
		return this.maxFileSize;
	}

	public void setMaxFileSize(long maxFileSize) {
		this.maxFileSize = maxFileSize;
	}

	public int getMaxMemory() {
		return this.maxMemory;
	}

	public void setMaxMemory(int maxMemory) {
		this.maxMemory = maxMemory;
	}


	public int getMaxFileCount() {
		return this.maxFileCount;
	}

	public void setMaxFileCount(int maxFileCount) {
		this.maxFileCount = maxFileCount;
	}

	public String getVfsModule() {
		return vfsModule;
	}

	public void setVfsModule(String vfsModule) {
		this.vfsModule = vfsModule;
	}
}
